class UserMailer < ActionMailer::Base
  default from: "zhou_gjun@163.com"

  def new_user(email)
    #@user = user


    mail(
      :subject => '测试',#主题
      :to => email,#接收人
      :from => 'zhou_gjun@163.com',#发送邮箱
      :date => Time.now#发送时间
    )
  end
end
